/*
 * 
 * Proj. Wireless - UFRN
 * 
 */

package metodologia;

import java.util.ArrayList;
import org.jdesktop.swingx.JXTable;

public class Progress implements java.io.Serializable{
    
    private int testId; //Armazena o n-esimo teste
    private int stepId; //Armazena o n-esimo conjunto de etapas
    private boolean[] checkBox; //Armazena o conjunto de etapas
    
    private ArrayList<ArrayList<String>> titleTable;
    private ArrayList<ArrayList<ArrayList<String>>> tableItens;
    private ArrayList<Boolean> active;
    
    private String observation;
    
    public Progress(){
    
        testId = 0;
        stepId = 0;
        checkBox = new boolean[0];
        titleTable = new ArrayList<>();
        tableItens = new ArrayList<>();
        active = new ArrayList<>();
        observation = "";
        
    }
    
    public Progress(int t, int l, boolean[] c){      
        this.testId = t;
        this.stepId = l;
        this.checkBox = c;
        
        titleTable = new ArrayList<>();
        tableItens = new ArrayList<>();
        active = new ArrayList<>();
        
        observation = "";
        
    }

    /**
     * @return the testId
     */
    public int getTestId() {
        return testId;
    }

    /**
     * @param testId the testId to set
     */
    public void setTestId(int testId) {
        this.testId = testId;
    }

    /**
     * @return the stepId
     */
    public int getStepId() {
        return stepId;
    }

    /**
     * @param stepId the stepId to set
     */
    public void setStepId(int stepId) {
        this.stepId = stepId;
    }

    /**
     * @return the checkBox
     */
    public boolean[] getCheckBox() {
        return checkBox;
    }

    /**
     * @param checkBox the checkBox to set
     */
    public void setCheckBox(boolean[] etapa) {
        this.checkBox = etapa;
    }

    /**
     * @return the tableItens
     */
    public ArrayList<ArrayList<ArrayList<String>>> getTableItens() {
        return tableItens;
    }

    /**
     * @param tableItens the tableItens to set
     */
    public void setTableItens(ArrayList<ArrayList<ArrayList<String>>> tableItens) {
        this.tableItens = tableItens;
    }

    /**
     * @return the titleTable
     */
    public ArrayList<ArrayList<String>> getTitleTable() {
        return titleTable;
    }

    /**
     * @param titleTable the titleTable to set
     */
    public void setTitleTable(ArrayList<ArrayList<String>> titleTable) {
        this.titleTable = titleTable;
    }

    /**
     * @return the active
     */
    public ArrayList<Boolean> getActive() {
        return active;
    }

    /**
     * @param active the active to set
     */
    public void setActive(ArrayList<Boolean> active) {
        this.active = active;
    }

    /**
     * @return the observation
     */
    public String getObservation() {
        return observation;
    }

    /**
     * @param observation the observation to set
     */
    public void setObservation(String observation) {
        this.observation = observation;
    }
    
}
